<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://libs.baidu.com/jquery/2.1.4/jquery.min.js"></script>
</head>
<body>
     
       <div>11111111</div>
       <div id="p1">2222222</div>
       <div>3333333</div>
       <div>44444444</div>
       <div>555555555</div>
       <div>6666666666</div>

      <button id="bu">删除p元素</button>

     <script>
           $(function()
           {
              $("#bu").bind("click",function()
              {
                $("#p1").remove()

              })   
           })
     </script>
       

</body>
</html>